package pl.edu.pb.wi.pwnography.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import pl.edu.pb.wi.pwnography.model.form.FileUploadForm;

@Controller
public class Welcome {
    @RequestMapping({ "/", "/welcome" })
    public String welcome(Model model) {
	model.addAttribute("form", new FileUploadForm());

	return "welcome";
    }
}
